package com.thermofisher.dsc.amanda.model.po.company;

import com.thermofisher.dsc.amanda.model.BaseModel;
import java.util.Date;
import javax.persistence.Column;
import javax.persistence.Table;
import lombok.Getter;
import lombok.Setter;

/**
 * Created by wenjie.yang on 1/8/2019.
 */
@Table(name= "revenue")
@Getter
@Setter
public class Revenue extends BaseModel{

  @Column(name = "company_id")
  private Long  companyId;

  @Column(name = "amount")
  private Double amount;

  @Column(name = "department_id")
  private Long departmentId;

  private String department;

  @Column(name = "revenue_year")
  private Date revenueYear;

}
